<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<meta name="GENERATOR" content="PasDoc 0.10.0">
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<title>Crispy Plotter Documentation: CustomSurface: Class TCustomSurface</title>
<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#800080" alink="#FF0000">
<a name="TCustomSurface"></a><h1 class="cio">Class TCustomSurface</h1>
<table class="sections wide_list">
<tr>
<td><a class="section"  href="#@Description">Description</a></td><td><a class="section"  href="#@Hierarchy">Hierarchy</a></td><td><a class="section"  href="#@Fields">Fields</a></td><td><a class="section"  href="#@Methods">Methods</a></td><td><a class="section"  href="#@Properties">Properties</a></td></tr></table>
<a name="@Description"></a><h2 class="unit">Unit</h2>
<p class="unitlink">
<a   href="CustomSurface.html">CustomSurface</a></p>
<h2 class="declaration">Declaration</h2>
<p class="declaration">
<code>type TCustomSurface = class(TObject)</code></p>
<h2 class="description">Description</h2>
<p>
This class provides painting methods for drawing on a referenced control similar to TCanvas. TCustomSurface itself is an abstract class, it only defines the iterface of the painting methods. Descendants of TCustomSurface have to implement the actual painting code.</p>
<a name="@Hierarchy"></a><h2 class="hierarchy">Hierarchy</h2>
<ul class="hierarchy"><li class="ancestor">TObject</li>
<li class="thisitem">TCustomSurface</li></ul><h2 class="overview">Overview</h2>
<a name="@Fields"></a><h3 class="summary">Fields</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><b><a   href="CustomSurface.TCustomSurface.html#FParent">FParent</a></b>: TWinControl;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><b><a   href="CustomSurface.TCustomSurface.html#FCanvas">FCanvas</a></b>: TCanvas;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><b><a   href="CustomSurface.TCustomSurface.html#FWidth">FWidth</a></b>: Integer;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><b><a   href="CustomSurface.TCustomSurface.html#FHeight">FHeight</a></b>: Integer;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><b><a   href="CustomSurface.TCustomSurface.html#FPenColor">FPenColor</a></b>: TColor;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><b><a   href="CustomSurface.TCustomSurface.html#FBrushColor">FBrushColor</a></b>: TColor;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><b><a   href="CustomSurface.TCustomSurface.html#FDrawPos">FDrawPos</a></b>: <a   href="CustomSurface.TSinglePoint.html">TSinglePoint</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><b><a   href="CustomSurface.TCustomSurface.html#FDrawing">FDrawing</a></b>: Boolean;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><b><a   href="CustomSurface.TCustomSurface.html#FColor">FColor</a></b>: TColor;</code></td>
</tr>
</table>
<a name="@Methods"></a><h3 class="summary">Methods</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CustomSurface.TCustomSurface.html#SetBrushColor">SetBrushColor</a></b>(const Value: TColor); virtual;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CustomSurface.TCustomSurface.html#SetPenColor">SetPenColor</a></b>(const Value: TColor); virtual;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>constructor <b><a   href="CustomSurface.TCustomSurface.html#Create">Create</a></b>(AParent : TWinControl; AParentCanvas : TCanvas); virtual;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>destructor <b><a   href="CustomSurface.TCustomSurface.html#Destroy">Destroy</a></b>; override;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CustomSurface.TCustomSurface.html#Resize">Resize</a></b>(AWidth, AHeight: Integer); virtual;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CustomSurface.TCustomSurface.html#RebuildFont">RebuildFont</a></b>; virtual;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <b><a   href="CustomSurface.TCustomSurface.html#TextExtent">TextExtent</a></b>(const Text: string): TPoint; virtual;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <b><a   href="CustomSurface.TCustomSurface.html#TextWidth">TextWidth</a></b>(Text: string): Integer;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <b><a   href="CustomSurface.TCustomSurface.html#TextHeight">TextHeight</a></b>(Text: string): Integer;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CustomSurface.TCustomSurface.html#FillRect">FillRect</a></b>(Rect:TRect); virtual; abstract;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CustomSurface.TCustomSurface.html#MoveTo">MoveTo</a></b>(X, Y: Integer); overload; virtual;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CustomSurface.TCustomSurface.html#MoveTo">MoveTo</a></b>(X, Y: Single); overload; virtual;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CustomSurface.TCustomSurface.html#LineTo">LineTo</a></b>(X, Y: Integer); overload; virtual;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CustomSurface.TCustomSurface.html#LineTo">LineTo</a></b>(X, Y: Single); overload; virtual;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CustomSurface.TCustomSurface.html#ArrowTo">ArrowTo</a></b>(X, Y: Integer); virtual;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CustomSurface.TCustomSurface.html#HorizLine">HorizLine</a></b>(Y: Integer); virtual; abstract;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CustomSurface.TCustomSurface.html#VertLine">VertLine</a></b>(X: Integer); virtual; abstract;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CustomSurface.TCustomSurface.html#Ellipse">Ellipse</a></b>(const Rect: TRect); virtual; abstract;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CustomSurface.TCustomSurface.html#Rectangle">Rectangle</a></b>(const Rect: TRect); virtual; abstract;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CustomSurface.TCustomSurface.html#FrameRect">FrameRect</a></b>(const Rect: TRect); virtual; abstract;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CustomSurface.TCustomSurface.html#TextOut">TextOut</a></b>(X, Y: Integer; const Text: string); virtual; abstract;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CustomSurface.TCustomSurface.html#BeginDraw">BeginDraw</a></b>; virtual;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CustomSurface.TCustomSurface.html#EndDraw">EndDraw</a></b>; virtual;</code></td>
</tr>
</table>
<a name="@Properties"></a><h3 class="summary">Properties</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="CustomSurface.TCustomSurface.html#PenColor">PenColor</a></b>: TColor read <a   href="CustomSurface.TCustomSurface.html#FPenColor">FPenColor</a> write <a   href="CustomSurface.TCustomSurface.html#SetPenColor">SetPenColor</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="CustomSurface.TCustomSurface.html#BrushColor">BrushColor</a></b>: TColor read <a   href="CustomSurface.TCustomSurface.html#FBrushColor">FBrushColor</a> write <a   href="CustomSurface.TCustomSurface.html#SetBrushColor">SetBrushColor</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="CustomSurface.TCustomSurface.html#Drawing">Drawing</a></b>: Boolean read <a   href="CustomSurface.TCustomSurface.html#FDrawing">FDrawing</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="CustomSurface.TCustomSurface.html#Color">Color</a></b>: TColor read <a   href="CustomSurface.TCustomSurface.html#FColor">FColor</a> write SetColor;</code></td>
</tr>
</table>
<h2 class="description">Description</h2>
<h3 class="detail">Fields</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="FParent"></a><code><b>FParent</b>: TWinControl;</code></td>
</tr>
<tr><td colspan="2">
<p>
Parent control</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="FCanvas"></a><code><b>FCanvas</b>: TCanvas;</code></td>
</tr>
<tr><td colspan="2">
<p>
Canvas of parent control</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="FWidth"></a><code><b>FWidth</b>: Integer;</code></td>
</tr>
<tr><td colspan="2">
<p>
Width of parent control in pixels</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="FHeight"></a><code><b>FHeight</b>: Integer;</code></td>
</tr>
<tr><td colspan="2">
<p>
Height of parent control in pixels</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="FPenColor"></a><code><b>FPenColor</b>: TColor;</code></td>
</tr>
<tr><td colspan="2">
<p>
Current pen color</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="FBrushColor"></a><code><b>FBrushColor</b>: TColor;</code></td>
</tr>
<tr><td colspan="2">
<p>
Current brush color</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="FDrawPos"></a><code><b>FDrawPos</b>: <a   href="CustomSurface.TSinglePoint.html">TSinglePoint</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Current drawing position in pixels</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="FDrawing"></a><code><b>FDrawing</b>: Boolean;</code></td>
</tr>
<tr><td colspan="2">
<p>
True, between calls of BeginDraw and EndDraw</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="FColor"></a><code><b>FColor</b>: TColor;</code></td>
</tr>
<tr><td colspan="2">
<p>
Background color of control</p>
</td></tr>
</table>
<h3 class="detail">Methods</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="SetBrushColor"></a><code>procedure <b>SetBrushColor</b>(const Value: TColor); virtual;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><a name="SetPenColor"></a><code>procedure <b>SetPenColor</b>(const Value: TColor); virtual;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Create"></a><code>constructor <b>Create</b>(AParent : TWinControl; AParentCanvas : TCanvas); virtual;</code></td>
</tr>
<tr><td colspan="2">
<p>
Create the surface on the referenced parent control.   </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>AParent</dt>
<dd>parent window</dd>
<dt>AParentCanvas</dt>
<dd>Canvas of parent window</dd>
<dt>AFileName</dt>
<dd>If the derived surface class acts as an image exporter FileName specifies the file path of the image to be created. If the surface class uses screen output only FileName has to be empty.</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Destroy"></a><code>destructor <b>Destroy</b>; override;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Resize"></a><code>procedure <b>Resize</b>(AWidth, AHeight: Integer); virtual;</code></td>
</tr>
<tr><td colspan="2">
<p>
Adjusts the surface on size changes of the parent control.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="RebuildFont"></a><code>procedure <b>RebuildFont</b>; virtual;</code></td>
</tr>
<tr><td colspan="2">
<p>
Prepares the surface to use the font of the parent control to draw text. This method has to be called by the application only after the font of the parent control has changed.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="TextExtent"></a><code>function <b>TextExtent</b>(const Text: string): TPoint; virtual;</code></td>
</tr>
<tr><td colspan="2">
<p>
Returns the width and height of some text in pixels when it would be drawn on the surface in the current font of the parent control.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="TextWidth"></a><code>function <b>TextWidth</b>(Text: string): Integer;</code></td>
</tr>
<tr><td colspan="2">
<p>
Returns the width of some text in pixels when it would be drawn on the surface in the current font of the parent control.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="TextHeight"></a><code>function <b>TextHeight</b>(Text: string): Integer;</code></td>
</tr>
<tr><td colspan="2">
<p>
Returns the height of some text in pixels when it would be drawn on the surface in the current font of the parent control.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="FillRect"></a><code>procedure <b>FillRect</b>(Rect:TRect); virtual; abstract;</code></td>
</tr>
<tr><td colspan="2">
<p>
Draws a rectangle at the spec ified position filled with the current brush color.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="MoveTo"></a><code>procedure <b>MoveTo</b>(X, Y: Integer); overload; virtual;</code></td>
</tr>
<tr><td colspan="2">
<p>
Moves the drawing cursor to the specified position.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="MoveTo"></a><code>procedure <b>MoveTo</b>(X, Y: Single); overload; virtual;</code></td>
</tr>
<tr><td colspan="2">
<p>
Moves the drawing cursor to the specified position.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="LineTo"></a><code>procedure <b>LineTo</b>(X, Y: Integer); overload; virtual;</code></td>
</tr>
<tr><td colspan="2">
<p>
Draws a line from the position of the drawing cursor to the specified position. Floating point version</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="LineTo"></a><code>procedure <b>LineTo</b>(X, Y: Single); overload; virtual;</code></td>
</tr>
<tr><td colspan="2">
<p>
Draws a line from the position of the drawing cursor to the specified position. Floating point version</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="ArrowTo"></a><code>procedure <b>ArrowTo</b>(X, Y: Integer); virtual;</code></td>
</tr>
<tr><td colspan="2">
<p>
Draws an arrow from the position of the drawing cursor to the specified position.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="HorizLine"></a><code>procedure <b>HorizLine</b>(Y: Integer); virtual; abstract;</code></td>
</tr>
<tr><td colspan="2">
<p>
Draws a horizontal line along the specified Y position.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="VertLine"></a><code>procedure <b>VertLine</b>(X: Integer); virtual; abstract;</code></td>
</tr>
<tr><td colspan="2">
<p>
Draws a vertical line along the specified X position.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Ellipse"></a><code>procedure <b>Ellipse</b>(const Rect: TRect); virtual; abstract;</code></td>
</tr>
<tr><td colspan="2">
<p>
Draws an ellipse at the specified position.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Rectangle"></a><code>procedure <b>Rectangle</b>(const Rect: TRect); virtual; abstract;</code></td>
</tr>
<tr><td colspan="2">
<p>
Draws a rectangle at the specified position filled with the current brush color and outlined with the current pen color.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="FrameRect"></a><code>procedure <b>FrameRect</b>(const Rect: TRect); virtual; abstract;</code></td>
</tr>
<tr><td colspan="2">
<p>
Draws a rectangle at the specified position outlined with the current pen color.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="TextOut"></a><code>procedure <b>TextOut</b>(X, Y: Integer; const Text: string); virtual; abstract;</code></td>
</tr>
<tr><td colspan="2">
<p>
Draws text at the specified position.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="BeginDraw"></a><code>procedure <b>BeginDraw</b>; virtual;</code></td>
</tr>
<tr><td colspan="2">
<p>
Prepares the surface for performing drawing operations.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="EndDraw"></a><code>procedure <b>EndDraw</b>; virtual;</code></td>
</tr>
<tr><td colspan="2">
<p>
Notifies the surface that drawing operations are completed (for example to swap buffers for a surface class using double buffering).</p>
</td></tr>
</table>
<h3 class="detail">Properties</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="PenColor"></a><code>property <b>PenColor</b>: TColor read <a   href="CustomSurface.TCustomSurface.html#FPenColor">FPenColor</a> write <a   href="CustomSurface.TCustomSurface.html#SetPenColor">SetPenColor</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Current pen color.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="BrushColor"></a><code>property <b>BrushColor</b>: TColor read <a   href="CustomSurface.TCustomSurface.html#FBrushColor">FBrushColor</a> write <a   href="CustomSurface.TCustomSurface.html#SetBrushColor">SetBrushColor</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Current brush color.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Drawing"></a><code>property <b>Drawing</b>: Boolean read <a   href="CustomSurface.TCustomSurface.html#FDrawing">FDrawing</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Drawing flag, true between calls of BeginDraw and EndDraw.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Color"></a><code>property <b>Color</b>: TColor read <a   href="CustomSurface.TCustomSurface.html#FColor">FColor</a> write SetColor;</code></td>
</tr>
<tr><td colspan="2">
<p>
Background color of the surface.</p>
</td></tr>
</table>
<hr noshade size="1"><span class="appinfo"><em>Generated by <a  target="_parent" href="http://pasdoc.sourceforge.net/">PasDoc 0.10.0</a> on 2007-09-13 21:24:24</em>
</span>
</body></html>
